package com.egg.ylt.Utils;

import android.os.Environment;

/**
 * Created by sichaoqi on 2018/9/25.
 */

public class Constants {


    //用户token
    public static final String USER_TOKEN = "user_token";
    //用户ID
    public static final String USER_ID = "user_id";
    //用户手机号
    public static final String USER_PHONE = "user_phone";
    //用户名
    public static final String USER_NAME = "user_name";
    //用户头像uri
    public static final String HEAD_IMAGE = "head_image";
    //公司ID
    public static final String COMPANY_ID = "companyId";
    //钱包余额
    public static final String TOTAL_AMOUNT = "total_amount";
    //门店id
    public static final String SHOP_ID = "shop_id";
    //用户积分
    public static final String USER_FLOW = "user_flow";
    //宝宝默认的ID
    public static final String BABY_ID = "baby_id";
    //游泳圈设备号
    public static final String SWIM_RING_ID = "swim_ring_id";
    // 泳圈code
    public static final String SWIM_RING_CODE = "swim_ring_code";

    //公共标识
    public static final int SELECT_SERVICE_ITEM = 0x00000001;
    public static final int SELECT_SERVICE_TIME = 0x00000002;

    //健康页面view type
    public static final String UNLOGIN = "1001";
    public static final String NOCONTENT = "1002";
    public static final String HEADER_ADDPIC = "999";
    public static final String HEIGHT_WEIGHT = "1";
    public static final String SINGLE_PIC = "2";

    public static String TOKEN = "";
    public static String USERID = "";
    public static String BABYID = "";
    public static String BABYNAME = "";
    public static long BABYBIRTHDAY = 0;
    public static String RELATIONSHIP = "";

    public static int SCREEN_WIDTH = 0;

    public static String USERPHONE = "";
    // 本地公司id
//    public static String COMPANYID = "1";
    //开发用公司id
//    public static String COMPANYID = "EA1887DE54000000F00000000022E000";
    //预发布用公司id
//    public static String COMPANYID = "EEC3FCC93C000000995800000010A000";
    //上线
    public static String COMPANYID = "E74ECFF824000000A000000000160000";
    //门店ID
    public static String SHOPID = "5";
    // 泳圈code
    public static String SWIMRINGCODE = "";


    //微信支付appid
    public static String WX_APP_ID = "wxb3b603b1b6dd65b4";

    //上传图片是用的地址
    public static String PhotoDir = Environment.getExternalStorageDirectory() + "/PhotoDemo/image/";

    //微信支付回调界面成功返回界面的区分type
    public static int WX_PAY_TYPE = 0;
    //充值界面去成功的回调
    public static final int WX_PAY_RECHARGE = 0x000000010;
    //次卡购买去成功的回调
    public static final int WX_PAY_CARD = 0x000000011;


    //手机号登录去验证码界面
    public static int PHONE_LOGIN_TO_CODE = 0;
    //忘记密码去验证码界面
    public static int FIND_PASSWORD_TO_CODE = 1;
    //个人中心修改密码去验证码界面
    public static int UPDATE_PHONE_TO_CODE = 2;

    //成长印记传递type 和 name 字段用
    public static String GROWTH_STAMP_ITEM_TYPE = "itemType";
    public static String GROWTH_STAMP_DATE = "date";

    public static String ENTER_TYPE = "enterType";


    // 门店客服电话
    public static String storeServicePhone = "13826068279";
    // 公司客服电话
    public static String companyServicePhone = "4009-690-801";


    //退出登录时发送的EventBus的id,主页显示到咨询首页
    public static final int EXIT_LOGIN_GO_HOME = 0x000000020;


    //健康界面选择门店是的event值
    public static final int UPDATE_SHOP_EVENT = 0x000000015;

    public static final int MODIFY_RECORD_EVENT = 0x000000016;

    public static final int SWITCH_BABY_EVENT = 0x000000017;

    public static final int CLEAR_SWIM_FRAGMENT = 0x000000018;

    public static final int INIT_SWIM_FRAGMENT = 0x000000019;

    // 登录成功请求首页优惠券
    public static final int REQUEST_HOMEPAGE_COUPON = 0x000000021;


}
